const Login = () => import("@/views/login/Login.vue");
const Test = () => import("@/test.vue");
const Layout = () => import("@/components/layout/index.vue");

export default [
    {
        path: "/",
        redirect: "/dataScreen",
        name: "HomePage",
        component: Layout
    },
    {
        // 支持的请求地址除/newsList以及，还支持/news
        path: "/login",
        name: "Login",
        component: Login,
        meta: {
            title: "登录"
        }
    },
    {
        path: '/:pathMatch(.*)*',
        name: "NotFound",
        component: () => import("@/views/notFound/NotFound.vue"),
        meta: {
            title: "NotFound"
        }
    }
]